
package session.stateless;

import javax.ejb.Local;
import java.util.ArrayList;
import entity.AccessRole;

@Local
public interface AccessRoleSessionBeanLocal {
    
    public ArrayList <AccessRole> getAccessRoles ();
    public ArrayList <AccessRole> getAccessRoles (String title);
    public void addRole (String roleType, String description);
    public AccessRole getRole (String roleType);
    public ArrayList <AccessRole> getRoles ();
    public void updateRole (String roleType, String description);
    public void deleteRole (String roleType);
    public ArrayList<String> getControls(String roleType) ;
    public void updateAccessControl(String roleType, String title, Boolean addRole);
    
}
